#app {
  // 主体区域
  position: relative;
  .main-container {
    min-height: calc(100vh - 30px);
    //min-width: 1100px;
    min-width: 1080px;
    padding-top: 50px;
    transition: margin-left 0.2s;
    margin-left: 200px;
    background: #f6f7fb;
  } // 侧边栏
  .sidebar-container {
    transition: width 0.2s;
    width: 200px!important;
    //height: calc(100% - 50px);
    height: 100%;
    position: fixed;
    //top: 50px;menu-wrapper
    bottom: 0;
    left: 0;
    z-index: 1001;
    a {
      display: inline-block;
      width: 100%;
    }
    .svg-icon {
      margin-right: 16px;
    }
    .el-menu {
      border: none;
      width: 100%;
    }
  }
  .hideSidebar {
    .sidebar-container,.sidebar-container .el-menu {
      width: 36px!important;
      // overflow: inherit;
      .level3-list{
        padding-left: 20px !important;
      }
    }
    .main-container {
      margin-left: 36px;
    }
  }
  .hideSidebar {
    .submenu-title-noDropdown {
      padding-left: 10px!important;
      position: relative;
      span {
        height: 0;
        width: 0;
        overflow: hidden;
        visibility: hidden;
        transition: opacity .2s cubic-bezier(.55, 0, .1, 1);
        opacity: 0;
        display: inline-block;
      }
      &:hover {
        span {
          display: block;
          border-radius: 3px;
          z-index: 1002;
          width: 140px;
          height: 56px;
          visibility: visible;
          position: absolute;
          right: -145px;
          text-align: left;
          text-indent: 20px;
          top: 0px;
          background-color: $subMenuBg!important;
          //background-color: rgba(250,250,250,0.9)!important;
          opacity: 1;
        }
      }
    }
    .el-submenu {
      &>.el-submenu__title {
        padding-left: 10px!important;
        &>span {
          display: none;
        }
        .el-submenu__icon-arrow {
          display: none;
        }
      }
      .nest-menu {
        .el-submenu__icon-arrow {
          display: block!important;
        }
        span {
          display: inline-block!important;
        }
      }
    }
    .el-menu--collapse .el-menu .el-submenu{
      &>.el-submenu__title {
        padding-left: 10px!important;
        &>span {
          display:inline-block!important;
          padding-left:10px;
        }
        .el-submenu__icon-arrow {
          display: block!important;
        }
      }
      &:hover {
        //background-color:#5f63b0;
      }
    }
  }
  //.nest-menu .el-submenu>.el-submenu__title,
  .el-submenu .el-menu-item {
    min-width: 200px!important;
    background-color: $subMenuBg;
    //background-color: rgba(250,250,250,0.9)!important;
    &:hover {
      //background-color: $subMenuBg!important;
    }
    span {
      //font-size: 14px;
    }
  }
  .el-menu--collapse .el-menu .el-submenu {
    min-width: 200px!important;
    background-color: $subMenuBg;
    //background-color: rgba(250,250,250,0.9)!important;
    &:hover {
      //background-color: $subMenuBg!important;
    }
    span {
      //font-size: 14px;
    }
    .level3-list span{
      font-size: 12px;
    }
  }


}

.sidebar-container {
  .el-menu {
    background-color: rgba(255, 255, 255, 0) !important;
  }
  .el-submenu .el-menu .el-submenu__title {
    background-color: $subMenuBg;
  }
  a {
    .el-menu-item{
      background-color: $subMenuBg;
    }
  }
  a.router-link-active {
    .el-menu-item{
      background-color: $menuActive1 !important;
    }
  }
  a.level1{
    .el-menu-item{
      background-color: $menuBg;
    }
  }

  .el-submenu__icon-arrow {
    margin-top: -4px;
    color: $arrowColor !important;
  }
  //菜单字体大小
  .menu-wrapper {
    span{
      font-size:12px;
    }
    .el-menu-item{
      span{
        //只有一级菜单
        font-size:14px;
      }
    }
    .el-submenu{
      .el-submenu__title>span{
        //一级菜单
        font-size:14px;
      }
      //二级菜单
      .el-menu  span{
        font-size:12px;
      }
      //三级菜单
      .el-menu  .level3 span{
        font-size:11px;
      }
    }
  }
}

